package com.lanjiyin.cloud.api.entity;

import java.io.Serializable;
import javax.persistence.*;
import lombok.Data;
import java.util.Date;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 
 * 
 * @author tudaojun
 * @email 1208386700@qq.com
 * @date 2021-07-23 23:44:49
 */
@ApiModel(value = "")
@Data
@Table(name = "ljy_passport_unlock_info")
public class PassportUnlockInfo implements Serializable {
	private static final long serialVersionUID = 1L;
	
	   
    @ApiModelProperty(value = "题库分享文案id")
    @Id
    @GeneratedValue(generator = "JDBC")
    private Integer id;
    
			    
    @ApiModelProperty(value = "id, eg：学科章节id， 年份id，题单id等")
    @Column(name = "chapter_id")
    private Integer chapter_id;
				    
    @ApiModelProperty(value = "新版加锁  1：解锁状态   0：未解锁")
    @Column(name = "is_unlock")
    private Integer is_unlock;
				    
    @ApiModelProperty(value = "商品id")
    @Column(name = "service_id")
    private String service_id;
				    
    @ApiModelProperty(value = "类型 1；学科，2：章节 3:组题学科 4：组题章节 5：年份学科 6：年份章 7.院校真题学科，8：院校真题章 9.随即组题按钮解锁信息")
    @Column(name = "type")
    private Integer type;
				    
    @ApiModelProperty(value = "是否删除 0：显示 1：删除")
    @Column(name = "is_del")
    private Integer is_del;
				    
    @ApiModelProperty(value = "分享类型1：分享  10:客服微信 20:邀请注册  30:公众号 40:好评")
    @Column(name = "unlock_type")
    private Integer unlock_type;
				    
    @ApiModelProperty(value = "解锁客服微信号（微信号||倒计时秒））")
    @Column(name = "unlock_wx_time")
    private String unlock_wx_time;
				    
    @ApiModelProperty(value = "拉新人数")
    @Column(name = "unlock_invite_num")
    private Integer unlock_invite_num;
				    
    @ApiModelProperty(value = "拉新标题||副标题")
    @Column(name = "unlock_title_head")
    private String unlock_title_head;
				    
    @ApiModelProperty(value = "解锁弹框/分享图/微信二维码")
    @Column(name = "unlock_img")
    private String unlock_img;
				    
    @ApiModelProperty(value = "小程序分享图片")
    @Column(name = "unlock_mp_img")
    private String unlock_mp_img;
				    
    @ApiModelProperty(value = "分享链接")
    @Column(name = "unlock_share_url")
    private String unlock_share_url;
				    
    @ApiModelProperty(value = "好评按钮文字")
    @Column(name = "praise_title")
    private String praise_title;
				    
    @ApiModelProperty(value = "appid")
    @Column(name = "app_id")
    private String app_id;
				    
    @ApiModelProperty(value = "app_type")
    @Column(name = "app_type")
    private String app_type;
					
    @ApiModelProperty(value = "")
    @Column(name = "created_at")
    @JSONField(format ="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date created_at;
    				
    @ApiModelProperty(value = "")
    @Column(name = "updated_at")
    @JSONField(format ="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date updated_at;
    			    
    @ApiModelProperty(value = "")
    @Column(name = "is_rand_year_unlock")
    private Integer is_rand_year_unlock;
				    
    @ApiModelProperty(value = "")
    @Column(name = "is_rand_chapter_unlock")
    private Integer is_rand_chapter_unlock;
				    
    @ApiModelProperty(value = "机构码订单商品属性id")
    @Column(name = "instit_service_id")
    private String instit_service_id;
				    
    @ApiModelProperty(value = "分享方式上弹框图片")
    @Column(name = "unlock_top_img")
    private String unlock_top_img;
		
}
